The attached patch breaks out
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Mon, 27 Feb 2006 15:11:01 +0000 (16:11 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Mon, 27 Feb 2006 15:11:01 +0000 (16:11 +0100)
commit46ede6808b22e3de2bc100a46b33bea6e5d6095c
treee9933525d0d9df84aa230130b61b2bf87eac026e
parent79e4b2910a4c3ee7736885a630c51ec5a882c3cf
The attached patch breaks out

- log() function from xen-hotplug-common.sh -> logging.sh
- locking-related functions from xen-hotplug-common.sh  -> locking.sh

- xen-hotplug-common.sh 'sources' both those files now to not loose
these functions (which should make the break-out atomic)

- adapts the Makefile to install locking.sh and logging.sh at the right
place.

I ran the xm-tests over it and no (additional) errors appear due to this
change.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/examples/Makefile
tools/examples/xen-hotplug-common.sh
xen-unstable.hg/tools/examples/locking.sh [new file with mode: 0644]
xen-unstable.hg/tools/examples/logging.sh [new file with mode: 0644]